import { uaaApp } from "@/lib";

export function hasApproveSettledAuth() {
  return uaaApp.canUse('register_backlog_review_pass') && uaaApp.canUse('register_backlog_review_reject')
}

export function hasApproveQuotaAuth() {
  return uaaApp.canUse('my_backlog_quota_QuotaApplycomplete') && uaaApp.canUse('register_backlog_review_reject')
}

export function hasApproveStockAuth() {
  return uaaApp.canUse('my_backlog_quota_checkstocworkflowcomplete') && uaaApp.canUse('register_backlog_review_reject')
}